package com.github.swaince.service.impl;

import com.github.swaince.mapper.SystemDictionaryMapper;
import com.github.swaince.model.SystemDictionary;
import com.github.swaince.service.SystemDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @date: 2021/7/6 12:17
 * @author: zhangth
 * @description:
 */
@Service
public class SystemDictionaryServiceImpl implements SystemDictionaryService {

    @Autowired
    private SystemDictionaryMapper systemDictionaryMapper;

    @Override
    public SystemDictionary getById(Integer id) {
        return systemDictionaryMapper.selectByPrimaryKey(id);
    }
}
